#ifndef MYTBF_H
#define MYTBF_H

#define MYTBF_MAX	1024

typedef void mytbf_ctx_t;

mytbf_ctx_t *mytbf_ctx_init(int cps, int burst);
int mytbf_ctx_destroy(mytbf_ctx_t*);

ssize_t mytbf_request(mytbf_ctx_t*, size_t);

#endif

